package com.base.impl;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public interface UICommandImpl {

    void showToast(@NonNull CharSequence sequence);

    void showErrorToast(@NonNull CharSequence sequence, Throwable e);

    void showDialog(@NonNull CharSequence sequence);

    void showDialog(@NonNull CharSequence sequence, boolean finish);

    void showErrorDialog(@NonNull CharSequence sequence, Throwable e);

    void showErrorDialog(@NonNull CharSequence sequence, Throwable e, boolean finish);

    String replaceText(@Nullable CharSequence sequence);

}
